from collections import Generator, Iterable, Iterator

print(issubclass(Generator, Iterator))
print(issubclass(Iterator, Iterable))
print(issubclass(Generator, Iterable))


